package com.wangwen.wechatmp.pay;

import com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * @Author: wangwei
 * @Date: 2019/11/30 11:59
 * 刷脸支付参数
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("xml")
@Accessors(chain = true)
public class FacePayEntity extends WxPayUnifiedOrderRequest {

    private static final long serialVersionUID = 4611350167813933328L;

    @XStreamAlias("face_code")
    private String faceCode;

    private String key;

    private String ip;
    /**
     * 订单ID
     */
    private String orderId;

    /**
     * 房间号
     */
    private String  roomNo;
    /**
     * "00"  订房刷脸支付
     * "10"  直接刷脸支付
     */
    private String payType;
}
